
#include <Square.h>

Square::Square(const Uint32 side):side_m(side)
{

}


Uint32 Square::calcPerimeter() const
{
  return 4*side_m;
}
    
Uint32 Square::calcArea() const
{
  return side_m*side_m;
}
    
void Square::setSide(const Uint32 side)
{
  side_m = side;
}

